package cn.iocoder.yudao.module.product.controller.admin.skuofferpricerelation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - sku与报价关系新增/修改 Request VO")
@Data
public class SkuOfferPriceRelationSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31490")
    private Long id;

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32745")
    @NotNull(message = "商品id不能为空")
    private Long skuId;

    @Schema(description = "统一定价", example = "17442")
    @NotNull(message = "统一定价不能为空")
    private Integer price;

    @Schema(description = "退残价", example = "8251")
    private Integer incompletePrice;

    @Schema(description = "退残价是否启用（false未启用，ture已启用）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean enable;

    @Schema(description = "生效时间")
    private LocalDateTime effectiveTime;

    @Schema(description = "是否立即生效（false 未立即生效，true立即生效）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否立即生效（false 未立即生效，true立即生效）不能为空")
    private Boolean effective;

    @Schema(description = "当前标识（0当前标识(使用)，1未使用,2往期）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer currentMark;

}